using System;
using System.Text;
using System.Collections.Generic;


namespace Mengsk.ProxyDelivery.Domain
{
    public class Shoes
    {
        public virtual int Id { get; set; }
        public virtual int VendorId { get; set; }
        public virtual string Number { get; set; }
        public virtual ShoesType Type { get; set; }
        public virtual float Price { get; set; }
        public virtual string Url { get; set; }
        public virtual string Image { get; set; }
        public virtual DateTime CreateTime { get; set; }
        public virtual float Weight { get; set; }
        public virtual DateTime UpdateTime { get; set; }
        public virtual bool UpdateEnabled { get; set; }
        public virtual bool Enabled { get; set; }
        public DateTime LastSellTime { get; set; }

        public string Comment { get; set; }

        public List<ShoesSku> Skus { get; private set; }

        public Shoes()
        {
            this.Skus = new List<ShoesSku>();
        }

        public override string ToString()
        {
            return string.Format("{0} {1}", this.Number, Price);
        }
    }
}
